Update Saved Password
Saved Passwords
Update Saved Password
PUT
Update Saved Password
Updates an existing saved password. Users can only update their own passwords.
Endpoint
Authentication
Bearer token for authentication. User must be logged in.
Path Parameters
The unique identifier (primary key) of the saved password to update.
Request Body
All fields are optional. Only include the fields you want to update (partial update).The updated password (max 200 characters).
The updated URL (max 200 characters).
The updated friendly name (max 200 characters).
Request Example
Response
Success Response
200 OK
Error Responses
Authorization
Users can only update passwords they own. The endpoint automatically filters by the authenticated user, ensuring users cannot update other users’ passwords.Example Request
Implementation Details
This endpoint is implemented inviews.py:90 using the update_saved_password view function. It supports partial updates through the partial=True parameter in the serializer, meaning you only need to send the fields you want to update.